<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<link rel="stylesheet" href="${pageContext.request.contextPath}/resources/css/screen.css" type="text/css" media="screen" title="default" />


</head>
<body id="login-bg">
	<div id="login-holder">
	<div id="logo-login">
		<h1 style="color: #fff; font-style: oblique;">Team 2 - Leave Application </h1>
	</div>
	<div class="clear"></div>
	<div id="loginbox">	
	<div id="login-inner">
        <form:form method="POST" action="${pageContext.request.contextPath}/login">
        <p color="red"></p>
            <table>
            	<tr>
            		<td colspan="3">  
            		<h1 style="color: Red;" color="white">${message}</h1>          		
            		<p color="red">${message}</p>
            		</td>
            	</tr>
                <tr>
                    <td>Username:</td>
                    <td><input type="text" name="employeeId" class="login-inp" required="true" /></td>
                    <td><form:errors path="employeeId" cssStyle="color: red;"/></td>
                </tr>
                <tr>
                    <td>Password:</td>
                    <td><input type="password" name="password" class="login-inp" required="true" /></td>
                    <td><form:errors path="password" cssStyle="color: red;"/></td>
                </tr>
                <tr>
                    <td colspan="2">&nbsp;</td>
                </tr>
                <tr>
                    <td colspan='2' style="vertical-align: center;">
	                    <button type="login" id="update" class="form-submit" name="login">login</button>	                    
                    </td>
                </tr>
            </table>
        </form:form>
        </div>
	<div class="clear"></div>
 </div>
 </div>
</body>
</html>